package com.lianxian.xindong.home.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.hxb.library.di.component.AppComponent;

import com.lianxian.xindong.home.di.module.VideoModule;
import com.lianxian.xindong.home.mvp.contract.VideoContract;

import com.hxb.library.di.scope.FragmentScope;
import com.lianxian.xindong.home.mvp.ui.fragment.VideoFragment;


/**
 * @作者：hexingbo
 * @时间：07/02/2023
 * @描述：
 */
@FragmentScope
@Component(modules = VideoModule.class, dependencies = AppComponent.class)
public interface VideoComponent {
    void inject(VideoFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        VideoComponent.Builder view(VideoContract.View view);

        VideoComponent.Builder appComponent(AppComponent appComponent);

        VideoComponent build();
    }
}